package com.liqi.dev.mapper;

import com.liqi.dev.domain.CfgBranch;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liqi.dev.pojo.CfgBranchVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 网点表 Mapper 接口
 * </p>
 *
 * @author tianye
 * @since 2022-04-14
 */
public interface CfgBranchMapper extends BaseMapper<CfgBranch> {

    // 根据父级code获取网点列表
    List<CfgBranchVO> queryBranchByParentCode(@Param("parentCode") String parentCode);

}
